Skip to content

Conversation

hekike
Copy link
Contributor

@hekike hekike commented Oct 28, 2020

Hi, thanks for the module, it's a great help!
I run into an issue where my application faisl when FieldNode doesn't have directives.
As directives is an optional property on FieldNode, I created this PR to address this issue.

FieldNode.directives is an optional property:
https://github.com/graphql/graphql-js/blob/7b3241329e1ff49fb647b043b80568f0cf9e1a7c/src/language/ast.js#L296-L304

Please let me know if you need a change to proceed with it.

@ivome
Copy link
Collaborator

ivome commented Nov 1, 2020

@hekike Thank you for the fix!

@ivome ivome merged commit 10b4456 into slicknode:master Nov 1, 2020
@hekike hekike deleted the fix/field-node-directives-optional branch November 2, 2020 16:41
@hekike
Copy link
Contributor Author

hekike commented Nov 2, 2020

thanks for the release!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants